.class Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2;
.super Ljava/lang/Object;
.source "BottomStartNavigationBar.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;)V
    .locals 0

    .line 102
    iput-object p1, p0, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5

    .line 106
    iget-object p1, p0, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;->access$100(Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;)Llt/noframe/gpsfarmguide/analytics/FireAnalytics;

    move-result-object p1

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/analytics/FireAnalytics;->sendMapImpWidth()V

    .line 107
    new-instance p1, Ljava/text/DecimalFormat;

    const-string v0, "##.00"

    invoke-direct {p1, v0}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V

    .line 108
    new-instance v0, Llt/noframe/gpsfarmguide/dialogs/DoubleChooserDialog;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;

    invoke-static {v1}, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;->access$000(Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;)Landroid/content/Context;

    move-result-object v1

    new-instance v2, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2$1;

    invoke-direct {v2, p0}, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2$1;-><init>(Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2;)V

    invoke-direct {v0, v1, v2}, Llt/noframe/gpsfarmguide/dialogs/DoubleChooserDialog;-><init>(Landroid/content/Context;Llt/noframe/gpsfarmguide/dialogs/DoubleChooserDialog$OnSetListener;)V

    .line 115
    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;

    invoke-static {v1}, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;->access$000(Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;

    invoke-static {v2}, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;->access$300(Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;)D

    move-result-wide v2

    iget-object v4, p0, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;

    invoke-static {v4}, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;->access$000(Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;)Landroid/content/Context;

    move-result-object v4

    invoke-static {v4}, Llt/noframe/gpsfarmguide/utils/Preferences;->getDeflectionUnit(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    invoke-static {v2, v3, v4}, Llt/noframe/gpsfarmguide/utils/Mathematics;->convertAccuracy(DLjava/lang/String;)D

    move-result-wide v2

    invoke-virtual {p1, v2, v3}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;

    move-result-object p1

    iget-object v2, p0, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;

    invoke-static {v2}, Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;->access$000(Llt/noframe/gpsfarmguide/widgets/bottom_start/BottomStartNavigationBar;)Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Llt/noframe/gpsfarmguide/utils/Preferences;->getDeflectionUnit(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, p1, v2}, Llt/noframe/gpsfarmguide/dialogs/DoubleChooserDialog;->show(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
